#pragma once

class CEventRemindModel
{
public:
	CEventRemindModel(void);
	~CEventRemindModel(void);

	int m_id;
	int m_userID;
	CString m_name;
	CString m_phoneNum;
	int m_consumerID;
	long m_remindTm;
	CString m_remindContext;

	void psrseFromJson(Json::Value& jsonData);

	static bool compare(const CEventRemindModel* p1, const CEventRemindModel* p2)
	{
		if (p1 == nullptr || p2 == nullptr)
		{
			return true;
		}

		return (p1->m_remindTm < p2->m_remindTm);
	}

};

